home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / WILD16.PAK / FILES2.C < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  47 lines

  1. /*-----------------------------------------------------------------------*
  2.  * filename - files2.c
  3.  *
  4.  * function(s)
  5.  *    none
  6.  *----------------------------------------------------------------------*/
  7.  
  8. /*
  9.  *      C/C++ Run Time Library - Version 8.0
  10.  *
  11.  *      Copyright (c) 1987, 1997 by Borland International
  12.  *      All Rights Reserved.
  13.  *
  14.  */
  15. /* $Revision:   8.2  $        */
  16.  
  17.  
  18. #pragma option -zC_TEXT
  19. #pragma option -zR_DATA
  20. #pragma option -zTDATA
  21.  
  22. #include <io.h>
  23. #include <fcntl.h>
  24. #include <_nfile.h>
  25.  
  26. unsigned _nfile = _NFILE_;
  27.  
  28. /*---------------------------------------------------------------------*
  29.  
  30. Name            _openfd
  31.  
  32. Usage           unsigned int _openfd[];
  33.  
  34. Prototype in    not prototyped.
  35.  
  36. Description     array of access modes for file/devices
  37.  
  38. *---------------------------------------------------------------------*/
  39. unsigned int    _openfd[_NFILE_] =
  40. {
  41.     O_RDONLY | O_DEVICE | O_TEXT,
  42.     O_WRONLY | O_DEVICE | O_TEXT,
  43.     O_WRONLY | O_DEVICE | O_TEXT,
  44.     O_RDWR   | O_DEVICE | O_BINARY,
  45.     O_WRONLY | O_DEVICE | O_BINARY
  46. };
  47.